package service;

import org.springframework.stereotype.Service;
import pojo.Doctor;
import pojo.DoctorPage;

@Service
public interface DoctorService {
    public DoctorPage getAllDoctors(Integer page,Integer size);

    public Integer addOneDoctor(Doctor doctor);

    public Integer setOneDoctor(Doctor doctor);

    public Doctor getDoctorById(Integer id);

    public Integer delAllDoctors(Integer id);
}
